package com.xxxy.serviceImpl;

import com.xxxy.HelloService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Value;
@DubboService
public class HelloServiceImpl implements HelloService {

    @Value("${server.port}")
    private String serverPort;
    @Override
    public String hello(String name) {
        return "hello dubbo,serverPort:" + serverPort;
    }
}
